package wsz.email;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * 邮箱微服务
 * @author wsz
 * @date 2021/12/27 12:23
 **/
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScans(value = {
        @ComponentScan(value = "wsz"),
        @ComponentScan(value = "org.springframework.boot.autoconfigure.mail")
})
public class ServiceEmailApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceEmailApplication.class, args);
    }
}
